Skip to content

feat: implement missing compose samples and fix library bugs#42

Open
dkhawk wants to merge 26 commits intomainfrom
feat/fillout-missing-samples
Open

feat: implement missing compose samples and fix library bugs#42
dkhawk wants to merge 26 commits intomainfrom
feat/fillout-missing-samples

Conversation

@dkhawk
Copy link
Copy Markdown
Collaborator

@dkhawk dkhawk commented Apr 23, 2026

This PR implements missing Compose samples (Routes API, Camera Restrictions, etc.) and fixes a critical bug in the library regarding model updates. It also cleans up FQNs and adds unit tests.

dkhawk added 13 commits April 22, 2026 11:35
…sh UI test baseline

- Created a centralized samples catalog at the repository root for better discoverability, integrating the PlacesUIKit3D sample.
- Created BasicComposeMapActivity from scratch to serve as a minimal pedagogical reference for Maps 3D Compose integration.
- Established a baseline of UI smoke tests across key activities in both advanced and PlacesUIKit3D modules to ensure stability.
Created ComposeDemos module with skeletons, tests, and automation script. Reorganized catalog into module-specific READMEs.
Enabled immersive mode in all implemented activities and updated screenshots in catalog.
Implemented Polygons, Models, and Markers samples in Compose with visual tests and updated catalog.
Implemented Camera Restrictions sample in Compose with visual test and updated catalog.
@dkhawk dkhawk requested a review from kikoso April 23, 2026 22:36
if (currentOnMapClick != null || currentOnPlaceClick != null) {
googleMap3D.setMap3DClickListener { _, placeId ->
googleMap3D.setMap3DClickListener { location, placeId ->
android.util.Log.d("GoogleMap3D", "Map clicked at $location, placeId: $placeId")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FQDN:

Suggested change
android.util.Log.d("GoogleMap3D", "Map clicked at $location, placeId: $placeId")
Log.d("GoogleMap3D", "Map clicked at $location, placeId: $placeId")

@kikoso
Copy link
Copy Markdown
Collaborator

kikoso commented Apr 24, 2026

LGTM. Should we implement the TODO of MarkersActivity.kt?

I have been running this on the device and checking the performance. There seems to be some increase in memory and/or leaks, but to be honest this seems attributable to the maps itself, not the implementation here.

kikoso added 3 commits April 24, 2026 09:48
- Fix ktlint property naming error in PlaceDetailsActivity
- Add missing ProGuard rule files in snippets/common
- Fix directory typo in build-advanced CI workflow
This resolves build failures during manifest merger tasks (like processDebugUnitTestManifest) which were missing the MAPS3D_API_KEY placeholder.
@kikoso kikoso force-pushed the feat/fillout-missing-samples branch from 208e707 to fbd6d36 Compare April 24, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants